#pragma once
#include <string>
#include <iostream>
#include <netinet/in.h>

namespace USER
{
    using namespace std;
    enum state
    {
        ONLINE,
        OFFLINE
    };
    class userMsg
    {
    public:
        char _name[10];
        char _IP[15];
        int _sock; // 服务端的信息传递的套接字
        state _state; 
        userMsg() : _sock(-1),_state(ONLINE)
        {}
    };
}